package com.javandad.app.shared;

/**
 * <p>
 * FieldVerifier validates that the name the user enters is valid.
 * </p>
 */
public class FieldVerifier {

	/**
	 * Verifies that the specified name is valid for our service.
	 * @param name the name to validate
	 * @return true if valid, false if invalid
	 */
	public static boolean isValidUsername(String name) {
		if (name == null) {
			return false;
		}
		return name.length() > 3;
	}
}
